<!DOCTYPE html>
<html>
<head>
    <title>{$data.title}</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="description" content="{$data.description}" />
    <meta name="keywords" content="{$data.keyword}" />

    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1"/>
    <!-- css -->
    <link rel="shortcut icon" type="image/x-icon" href="__ADMIN__img/a1.jpg" />
    <link href="__HOME__css/iconfont.css" rel="stylesheet"/>
    <link href="__HOME__css/am.css" rel="stylesheet"/>
    <link href="__HOME__css/flexslider.css" rel="stylesheet"/>
    <link href="__HOME__css/style.css" rel="stylesheet"/>
    <link rel="stylesheet" href="__HOME__css/blueimp-gallery.min.css">
</head>
<body>

<div class="wrap">
    <!--导航-->
    {include file="public/header" /}

    <!-- position -->
    <div class="position_content martp70" style="margin-top: 70px;">
        <div class="public clear">
            <div class="position fl">
                <i class="iconfont icon-zhuye"></i>
                <a href="/">Home</a> >
                <a href="/home/blog/index.html">Blog</a> >
                <a>{$data.name}</a>
            </div>
            <div class="fr">
                <a href="/home/blog/index.html" style="font-size: 16px;color: #7b7b7b;">Return list <i class="iconfont icon-fanhui" style="font-size: 18px;"></i></a>
            </div>
        </div>
    </div>
    <!-- position end -->



    <!-- page -->
    <div class="video_view" style="background: #f4f4f4;">
        <div class="public clear">
            <div class="video_view_l fl" style="width: 70%">
                <div class="_share">
                    <h1 class="_title">{$data.name}</h1>
                    <div class="clear _date">
                        <div class="fl _date_l">
                            <p><i class="iconfont icon-shijianzhongbiao"></i>MARCH {$data.create_time}</p>
                            <p>by <span>{$data.author}</span></p>
                        </div>
                        <div class="fr _date_r">
                            <!-- 分享 -->
                        </div>
                    </div>
                    <div class="_view_c">
                        {$data.content}
                    </div>

                    <div class="_feedback">
                        <div class="total"><h3>188<span>Comments</span></h3></div>
                        <div class="_customer_qa_list">

                            <div class="_customer_qa">

                                <div class="_question">
                                    <div class="pic clear">
                                        <div class="_icon fl" style="background: url(__HOME__/images/touxiang1.png) center center no-repeat;background-size: cover;width: 60px;height: 60px;"></div>
                                        <h3 class="fl">Emery</h3>
                                    </div>
                                    <div class="_question_c">
                                        <p>Video descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo</p>
                                    </div>
                                </div>

                                <div class="_answer">
                                    <div class="pic clear">
                                        <div class="_icon fl" style="background: url(__HOME__/images/touxiang2.png) center center no-repeat;background-size: cover;width: 60px;height: 60px;"></div>
                                        <h3 class="fl">Oree laser</h3>
                                    </div>
                                    <div class="_question_c">
                                        <p>Video descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo descriptionVideo</p>
                                    </div>
                                </div>
                                <span class="_line"></span>
                            </div>

                        </div>
                        <div class="_leaveComment _form">
                            <h3>Leave a comment</h3>
                            <p>your email address will not be published. required fields are marked *</p>
                            <form id="comment" >
                                <textarea class="_inp_text"  type="text" id="content" name="message" required  placeholder="Enter your comments..." autocomplete="off"></textarea>
                                <ul class="col-2 clear" style="overflow: visible;">
                                    <li class="fl">
                                        <input class="_inp_text" type="text" id="name" name="name" required  placeholder="Name *" autocomplete="off">
                                    </li>
                                    <li class="fl">
                                        <input class="_inp_text" type="text" id="email" name="email" required  placeholder="Email *" autocomplete="off">
                                    </li>
                                </ul>
                                <input class="_inp_text" type="text" id="website" name="website" required  placeholder="Website" autocomplete="off">
                            </form>
                            <a class="_submit" onclick="btnAction()">Submit</a>
                        </div>
                    </div>
                    <div class="previousNext clear">
                        {if $b eq null}
                        <div class="fl _previous">
                            <a class="am"><i class="iconfont icon-shangyige"></i>PREVIOUS</a>
                            <span>No Data</span>
                        </div>
                        {else \}
                        <div class="fl _previous">
                            <a href="/blog/{$b.uname}.html" class="am"><i class="iconfont icon-shangyige"></i>PREVIOUS</a>
                            <span>{$b.name}</span>
                        </div>
                        {/if}
                        {if $c eq null}
                        <div class="fr _next">
                            <span>No Data</span>
                            <a class="am">PREVIOUS<i class="iconfont icon-shangyige"></i></a>
                        </div>
                        {else \}
                        <div class="fr _next">
                            <span>{$c.name}</span>
                            <a href="/blog/{$c.uname}.html" class="am">PREVIOUS<i class="iconfont icon-shangyige"></i></a>
                        </div>
                        {/if}
                        <span class="_link"></span>

                    </div>


                </div>
            </div>
            <div class="video_view_r fr" style="width: 28%">
                <div class="video_view_r_top">
                    <h1 class="_title">Related</h1>
                    <div class="_related">
                        <ul>
                            {volist name="likelist" id="v" key="k"}

                            <li>
                                <a href="/blog/{$v.uname}.html" class="clear">
                                    <div class="pic fl am">
                                        <div class="pic_img am" style="background: url({$v.img_url}) center center no-repeat;background-size: cover;"></div>
                                    </div>
                                    <div class="_text fl" style="width: 166px">
                                        <span>AUGUST {$v.create_time}</span>
                                        <p>{$v.name}</p>
                                    </div>
                                </a>
                            </li>
                            {/volist}

                        </ul>
                    </div>
                </div>
                <div class="video_view_r_bottom">
                    <h1 class="_title">Tags</h1>
                    <div class="_tags">
                        <ul class="clear">
                            {volist name="tags" id="v" key="k"}
                            <li class="fl">
                                <a href="/home/tags/{$v.id}.html" class="am">
                                    {$v.name}
                                </a>
                            </li>
                            {/volist}
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>



    {include file="public/footer" /}

    <script type="text/javascript">
        //字数限制
        $('._text p').wordLimit(50);
        $('._previous span').wordLimit(22);
        $('._next span').wordLimit(22);
        function btnAction() {
            var data = {
              'name':$('#name').val(),
              'email':$('#email').val(),
                'content':$('#content').val(),
                'website':$('#website').val(),
            };


        }
    </script>
